<!-- 页面包装 -->
<script setup lang="ts">
import NeNavBar from "@/neon/ui/navigation/Navbar.vue";

defineOptions({
  name: 'NePageContainer',
});

defineProps({
  // 标题
  title: {
    type: String,
    default: '',
  },
  // 是否显示 tabbar
  showTabbar: {
    type: Boolean,
    default: false
  }
});
</script>

<template>
  <view class="page-container">
    <ne-nav-bar></ne-nav-bar>
    <view class="page-content">
      <slot></slot>
    </view>
  </view>
</template>

<style scoped>

</style>
